package com.sutong.platform.model.dto.userinterfaceinfo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户调用接口关系更新请求
 *
 * @author sutong
 */
@Data
public class UserInterfaceInfoUpdateRequest implements Serializable {

    /**
     * 主键
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 总调用次数
     */
    private Integer totalNum;

    /**
     * 剩余调用次数
     */
    private Integer leftNum;

    /**
     * 状态(0:禁用,1:正常)
     */
    private Integer status;

    private static final long serialVersionUID = 1L;
}